package model.contract;

import java.sql.Timestamp;


/**
 * Contractmortgage entity. @author MyEclipse Persistence Tools
 */

public class Contractmortgage  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String mortgageid;
     private String mortgagetype;
     private String mortgagename;
     private String contractloanid;
     private Integer custommortgageid;
     private String custommortgagetype;
     private Integer thingsid;
     private Double mortgagemoney;
     private Timestamp start;
     private Timestamp end;
     private Timestamp contractensuredate;
     private Timestamp createtime;
     private Integer clerkid;
     private String state;


    // Constructors

    /** default constructor */
    public Contractmortgage() {
    }

	/** minimal constructor */
    public Contractmortgage(String mortgageid, String contractloanid, Integer custommortgageid, Double mortgagemoney) {
        this.mortgageid = mortgageid;
        this.contractloanid = contractloanid;
        this.custommortgageid = custommortgageid;
        this.mortgagemoney = mortgagemoney;
    }
    
    /** full constructor */
    public Contractmortgage(String mortgageid,String mortgagetype,String mortgagename, String contractloanid, Integer custommortgageid, String custommortgagetype, Integer thingsid, Double mortgagemoney, Timestamp start, Timestamp end, Timestamp contractensuredate, Timestamp createtime, Integer clerkid, String state) {
        this.mortgageid = mortgageid;
        this.mortgagetype=mortgagetype;
        this.mortgagename=mortgagename;
        this.contractloanid = contractloanid;
        this.custommortgageid = custommortgageid;
        this.custommortgagetype = custommortgagetype;
        this.thingsid = thingsid;
        this.mortgagemoney = mortgagemoney;
        this.start = start;
        this.end = end;
        this.contractensuredate = contractensuredate;
        this.createtime = createtime;
        this.clerkid = clerkid;
        this.state = state;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getMortgageid() {
        return this.mortgageid;
    }
    
    public void setMortgageid(String mortgageid) {
        this.mortgageid = mortgageid;
    }

    public String getContractloanid() {
        return this.contractloanid;
    }
    
    public void setContractloanid(String contractloanid) {
        this.contractloanid = contractloanid;
    }

    public Integer getCustommortgageid() {
        return this.custommortgageid;
    }
    
    public void setCustommortgageid(Integer custommortgageid) {
        this.custommortgageid = custommortgageid;
    }

    public String getCustommortgagetype() {
        return this.custommortgagetype;
    }
    
    public void setCustommortgagetype(String custommortgagetype) {
        this.custommortgagetype = custommortgagetype;
    }

    public Integer getThingsid() {
        return this.thingsid;
    }
    
    public void setThingsid(Integer thingsid) {
        this.thingsid = thingsid;
    }

    public Double getMortgagemoney() {
        return this.mortgagemoney;
    }
    
    public void setMortgagemoney(Double mortgagemoney) {
        this.mortgagemoney = mortgagemoney;
    }

    public Timestamp getStart() {
        return this.start;
    }
    
    public void setStart(Timestamp start) {
        this.start = start;
    }

    public Timestamp getEnd() {
        return this.end;
    }
    
    public void setEnd(Timestamp end) {
        this.end = end;
    }

    public Timestamp getContractensuredate() {
        return this.contractensuredate;
    }
    
    public void setContractensuredate(Timestamp contractensuredate) {
        this.contractensuredate = contractensuredate;
    }

    public Timestamp getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public Integer getClerkid() {
        return this.clerkid;
    }
    
    public void setClerkid(Integer clerkid) {
        this.clerkid = clerkid;
    }

    public String getState() {
        return this.state;
    }
    
    public void setState(String state) {
        this.state = state;
    }

	public String getMortgagetype() {
		return mortgagetype;
	}

	public void setMortgagetype(String mortgagetype) {
		this.mortgagetype = mortgagetype;
	}

	public String getMortgagename() {
		return mortgagename;
	}

	public void setMortgagename(String mortgagename) {
		this.mortgagename = mortgagename;
	}
   








}